package com.aba.hos.dao;


import com.aba.hos.admin.Admin;
import com.aba.hos.doc.entity.PatWord;
import com.aba.hos.doc.entity.Patient;

import java.sql.SQLException;
import java.util.List;

public interface PatDao {


    public int addPat(Patient pat) throws SQLException;


    public int updatePatDoc(String id,String docName) throws SQLException;

    public int updatePatStatus(String id) throws SQLException;

    public int updatePatWordDiagnosis(Patient p) throws SQLException;

    public Patient queryPatById(Integer id) throws SQLException;

    public Patient queryPatByName(String name) throws SQLException;

    public List<Patient> queryPatByNameList(String name) throws SQLException;

    public List<Patient> queryPatByNameAllList() throws SQLException;

    public List<Patient> queryPat() throws SQLException;

    public List<Patient> queryPatTotal() throws SQLException;


    public List<Patient> queryRoomNumber(String roomName) throws SQLException;

}